package lr.com.demo.service.impl;

import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;



public class MessageDelegateListenerImpl implements MessageListener{

	@Override
	public void onMessage(Message message, byte[] pattern) {
		System.out.println(message);
	}

	/*@Override
	public void handleMessage(Message message) {
		if (message == null) {
	            System.out.println("null");
        }else{
        	System.out.println(message);
        }
	}*/

}
